use serde::{Deserialize, Serialize};
use serde_json::json;
use utoipa::{IntoParams, ToSchema};

#[derive(Serialize, Deserialize, Clone, Debug,ToSchema)]
#[schema(example = json!({"account":"00000000000","password":"","vcode":""}))]
pub struct SignInDTO {
    pub account: String,
    pub password: String,
    //check code...
    pub vcode: String,
}

#[derive(Serialize, Deserialize, Clone, Debug,ToSchema,IntoParams)]
pub struct CatpchaDTO {
    pub account: Option<String>,
}
